package com.sjhy.plugin.dto;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * @author guoqing
 * @date 2021-06-17
 */
@Getter
@Setter
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TypeMapper implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 类型映射器id
     */
    private Integer typeMapperId;
    /**
     * 类型映射器组id
     */
    private Integer groupId;
    /**
     * 字段类型
     */
    private String columnType;
    /**
     * java类型
     */
    private String javaType;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;

    public TypeMapper(Integer groupId, String columnType,String javaType) {
        this.groupId = groupId;
        this.columnType = columnType;
        this.javaType = javaType;
    }
}
